<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>try/catch</title>
</head>
<body>
<script>
    try{
        console.log(a);
        throw 'a is not defined'
    }catch(error){
        console.log(new Error('a is not defined'))
    }finally {
        console.log('xxxbbbb,together')
    }


</script>
</body>
</html>